define(['angular','jquery'],function(angular,$){
'use strict';
angular.module('monitor.server', [])
.controller('serverCtrl',['$rootScope', '$scope', f])//控制器结束
	function f($rootScope, $scope
	                        		   ) {
		
		var Model = this;
		
		$.get($rootScope.getProjectName() + '/backcenter/monitor/getServerInfo', function(data){
			Model.dataServerInfo = data;
			//console.log('Model.dataServerInfo-->',Model.dataServerInfo);
			$scope.$apply();
		});
		
		console.log('server加载完成！');
		
		return Model;
	}	


});